<!-- INCLUDE simple_header.html -->

<br clear="all" />

<!-- MSNM info from http://www.cdolive.net/ - doesn't seem to work with MSN Messenger -->

<form method="post" action="{S_IM_ACTION}">
<hr />
<table cellspacing="0">
	<tr>
		<th colspan="2">{L_SEND_IM}</th>
	</tr>
</table>

<hr />
<table cellspacing="0">
	<tr>
		<td class="row3"><span class="gensmall">{L_SEND_IM_EXPLAIN}</span></td>
	</tr>
</table>

<hr />
<table cellspacing="0">
	<tr>
		<td class="row1"><b class="genmed">{L_IM_RECIPIENT}: </b>
		<p><span class="gen"><b>{USERNAME}</b><!-- IF S_SEND_ICQ or S_SEND_AIM or S_SEND_MSNM --> [ {IM_CONTACT} ]<!-- ENDIF --></span> <!-- IF PRESENCE_IMG -->{PRESENCE_IMG}<!-- ENDIF --></p></td>
	</tr>
</table>

	<!-- IF S_SEND_AIM -->
<hr />
<table cellspacing="0">
		<tr>
			<td class="row1"><br /><a class="gen" href="{U_AIM_CONTACT}">{L_IM_ADD_CONTACT}</a><br /><a class="gen" href="{U_AIM_MESSAGE}">{L_IM_SEND_MESSAGE}</a><br /><br /><a class="gensmall" href="http://www.aim.com/download.adp">{L_IM_DOWNLOAD_APP}</a> | <a class="gensmall" href="http://aimexpress.oscar.aol.com/aimexpress/launch.adp?Brand=AIM">{L_IM_AIM_EXPRESS}</a> </td>
		</tr>
</table>

<hr />
<table cellspacing="0">
		<tr>
			<td class="cat">&nbsp;</td>
		</tr>
</table>
	<!-- ENDIF -->

	<!-- IF S_SEND_MSNM -->
<hr />
<table cellspacing="0">
		<tr>
			<td class="row1">
				<object classid="clsid:B69003B3-C55E-4B48-836C-BC5946FC3B28" codetype="application/x-oleobject" id="objMessengerApp" width="0" height="0"></object>
				<script type="text/javascript">
				// <![CDATA[
					var app = document.getElementById('objMessengerApp');
					
					/**
					* Check whether the browser supports this and whether MSNM is connected
					*/
					function msn_supported()
					{
						// Does the browser support the MSNM object?
						if (app.MyStatus) 
						{
							// Is MSNM connected?
							if (app.MyStatus == 1)
							{
								alert('{LA_IM_MSNM_CONNECT}');
								return false;
							}
						}
						else
						{
							alert('{LA_IM_MSNM_BROWSER}');
							return false;
						}
						return true;
					}

					/**
					* Add to your contact list
					*/
					function add_contact(address)
					{
						if (msn_supported())
						{
							// Could return an error while MSNM is connecting, don't want that
							try
							{
								app.AddContact(0, address);
							}
							catch (e)
							{
								return;
							}
						}
					}

					/**
					* Write IM to contact
					*/
					function im_contact(address)
					{
						if (msn_supported())
						{
							// Could return an error while MSNM is connecting, don't want that
							try
							{
								app.InstantMessage(address);
							}
							catch (e)
							{
								return;
							}
						}
					}
				// ]]>
				</script>
	
				<a class="gen" href="#" onclick="add_contact('{A_IM_CONTACT}'); return false;">{L_IM_ADD_CONTACT}</a><br /><a class="gen" href="#" onclick="im_contact('{A_IM_CONTACT}'); return false;">{L_IM_SEND_MESSAGE}</a>
			</td>
		</tr>
</table>

<hr />
<table cellspacing="0">
		<tr>
			<td class="cat">&nbsp;</td>
		</tr>
</table>
	<!-- ENDIF -->

	<!-- IF S_SEND_JABBER -->
<hr />
<table cellspacing="0">
		<tr>
			<td class="row1"><b class="genmed">{L_IM_MESSAGE}: </b>
			<p><textarea class="post" name="message" rows="5" cols="45"></textarea></p></td>
		</tr>
</table>

<hr />
<table cellspacing="0">
		<tr>
			<td class="cat"><input class="btnmain" name="submit" type="submit" value="{L_IM_SEND}" /></td>
		</tr>
</table>
	<!-- ENDIF -->

	<!-- IF S_NO_SEND_JABBER -->
<hr />
<table cellspacing="0">
		<tr>
			<td class="row1"><span class="genmed">{L_IM_NO_JABBER}</span></td>
		</tr>
</table>
	<!-- ENDIF -->

	<!-- IF S_SENT_JABBER -->
<hr />
<table cellspacing="0">
		<tr>
			<td class="row1"><span class="gen">{L_IM_SENT_JABBER}</span></td>
		</tr>
</table>

<hr />
<table cellspacing="0">
		<tr>
			<td class="cat" colspan="2" align="center"></td>
		</tr>
</table>
	<!-- ENDIF -->

	<a class="nav" href="#" onclick="window.close(); return false;">{L_CLOSE_WINDOW}</a>
{S_FORM_TOKEN}
</form>

<!-- INCLUDE simple_footer.html -->